package com.nulldev.util.web.nTube.util;

public enum APILevels {

	API_LEVEL_UNKNOWN(0),
	API_LEVEL_1_5(1),
	API_LEVEL_1_6(2),
	API_LEVEL_1_7(3),

	;

	private final int level;

	private APILevels(final int level) {
		this.level = level;
	}

	public int getLevel() {
		return this.level;
	}

	public boolean isLevel(final int apiLevel) {
		return this.level == apiLevel;
	}
}
